net/asterisk-11.x and net/asterisk-13.x: fix LOW_MEMORY, drop patch
authorSebastian Kemper <[email protected]>
Fri, 28 Jul 2017 19:45:25 +0000 (21:45 +0200)
committerSebastian Kemper <[email protected]>
Fri, 28 Jul 2017 19:45:55 +0000 (21:45 +0200)
commiteead619fb1a0006e4d1547dd082cfa2d28a21c11
tree6e88504e30d94fa2e9f8b062f118a6d80d22b7e6
parentf616ed7c6ecb4a82947dc3f4f64ecf447d9f9ee9
net/asterisk-11.x and net/asterisk-13.x: fix LOW_MEMORY, drop patch

LOW_MEMORY can't be enabled by defining it in ASTCFLAGS. This can be
verified in the headers Asterisk installs: LOW_MEMORY actually is not
defined (it would be if LOW_MEMORY was enabled).

LOW_MEMORY can be enabled successfully with menuselect. This commit
makes menuselect usable and calls it to enable LOW_MEMORY.

This commit also disables BUILD_NATIVE with menuselect. So even if
configure detects that -march=native is available, it won't be used.
This means the configure.ac patch that was added previously can be
dropped.

Signed-off-by: Sebastian Kemper <[email protected]>
net/asterisk-11.x/Makefile
net/asterisk-11.x/patches/054-fix-cross-compile.patch [deleted file]
net/asterisk-13.x/Makefile
net/asterisk-13.x/patches/054-fix-cross-compile.patch [deleted file]